<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--框架必需start-->
<script type="text/javascript" src="../js/jquery-1.4.js"></script>
<script type="text/javascript" src="../js/framework.js"></script>
<link href="../css/import_basic.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" id="skin" />
<!--框架必需end-->

<!--多选下拉框start-->
<script type="text/javascript" src="../js/form/multiselect.js"></script>
<!--多选下拉框end-->

<script>

$(document).ready(function(){
	var a=null;
	a=<%=request.getParameter("p")%>;
	if(a==0){
		alert("修改错误！");
		top.Dialog.close();
	}if(a==1){
		alert("修改成功！");
		top.Dialog.close();
	}
});

</script>


</head>
<body>

	<div id="scrollContent">
		<form action="eInnerVehicle!editVehicle" name="editStaff" method="post">
			<table class="tableStyle" transMode="true">
				<tr>
					<td>车牌号：</td>
					<td><input type="text"  value="<%=request.getParameter("vehicleId") %>" name="vehicleId" />
					</td>
				</tr>
				<tr>
					<td>车辆类型：</td>
					<td>
					<select id="sel_1" name="type">
				    <option value="越野">越野</option>
				    <option value="大巴">大巴</option>
				    <option value="中巴">中巴</option>
				    <option value="小巴">小巴</option>
				    <option value="轿车">轿车</option>
				 </select>
					</td>
				</tr>
				<tr>
					<td>车辆等级：</td>
					<td>
					<select id="sel_2" name="vehicleLevel">
				    <option value="师级">师级</option>
				    <option value="团级">团级</option>
				    <option value="连级">连级</option>
				    <option value="排级">排级</option>
				    <option value="普通军人">普通军人</option>
				 </select>
					</td>
				</tr>
				<tr>
					<td>车辆状态：</td>
					<td><select id="sel_3" name="state">
				    <option value="using">未用</option>
				    <option value="notuing">已用</option>
			<!--    <option value="preserve">维护</option>   -->  	
				 	</select>
				 	</td>
				</tr>
				<tr>
					<td>上传照片：</td>
					<td><input type="file" name="vehiclePicture" id="vehiclePicture" />
					</td>
				</tr>


				<tr>
					<td colspan="2"><input type="submit" value=" 提 交 " /> <input
						type="reset" value=" 重 置 " /></td>
				</tr>
			</table>
			</form>
	</div>
</body>
</html>